package com.jmlee.pojo;

public class AOrderItems {

    private Long id;
    private Long orderId;
    private int itemId;
    private String itemImg;
    private String itemName;
    private int prePrice;
    private int price;
    private int buyCounts;

    public AOrderItems() {

    }

    public AOrderItems(Long id, Long orderId, int itemId, String itemImg, String itemName, int prePrice, int price, int buyCounts) {
        this.id = id;
        this.orderId = orderId;
        this.itemId = itemId;
        this.itemImg = itemImg;
        this.itemName = itemName;
        this.prePrice = prePrice;
        this.price = price;
        this.buyCounts = buyCounts;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getPrePrice() {
        return prePrice;
    }

    public void setPrePrice(int prePrice) {
        this.prePrice = prePrice;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getBuyCounts() {
        return buyCounts;
    }

    public void setBuyCounts(int buyCounts) {
        this.buyCounts = buyCounts;
    }

    @Override
    public String toString() {
        return "OrderItems{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", itemId=" + itemId +
                ", itemImg='" + itemImg + '\'' +
                ", itemName='" + itemName + '\'' +
                ", prePrice=" + prePrice +
                ", price=" + price +
                ", buyCounts=" + buyCounts +
                '}';
    }
}
